package com.trkj.dao.cf;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.Organization;
 

public interface DefinetissueDAO extends CrudRepository<Organization, Long> {
	@Query("from Organization u where u.organiName like ?1")
	public List<Organization> queryByOrgareaName(String organiName);
	@Query("from Organization u")
	public List<Organization> queryByPage(Pageable p);
}
